MATCH (start:`Line` {lineId: 'L001'})
    MATCH (end:`WorkBench` {benchId: 'WB001'})
    MERGE (start)-[:`LINE_CONTAINS` {order: 1, prevBench: 'nan', nextBench: 'WB002'}]->(end);
MATCH (start:`Line` {lineId: 'L001'})
    MATCH (end:`WorkBench` {benchId: 'WB002'})
    MERGE (start)-[:`LINE_CONTAINS` {order: 2, prevBench: 'WB001', nextBench: 'nan'}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`Equipment` {equipmentId: 'EQ001'})
    MERGE (start)-[:`HAS_EQUIPMENT` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`Equipment` {equipmentId: 'EQ002'})
    MERGE (start)-[:`HAS_EQUIPMENT` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`Equipment` {equipmentId: 'EQ004'})
    MERGE (start)-[:`HAS_EQUIPMENT` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`Equipment` {equipmentId: 'EQ003'})
    MERGE (start)-[:`HAS_EQUIPMENT` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`Equipment` {equipmentId: 'EQ005'})
    MERGE (start)-[:`HAS_EQUIPMENT` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT001'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET001'})
    MERGE (start)-[:`WORKBENCH_ALLOWS_TYPE` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT001'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET002'})
    MERGE (start)-[:`WORKBENCH_ALLOWS_TYPE` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT001'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET003'})
    MERGE (start)-[:`WORKBENCH_ALLOWS_TYPE` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT001'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET004'})
    MERGE (start)-[:`WORKBENCH_ALLOWS_TYPE` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT002'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET001'})
    MERGE (start)-[:`WORKBENCH_ALLOWS_TYPE` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT002'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET002'})
    MERGE (start)-[:`WORKBENCH_ALLOWS_TYPE` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT002'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET003'})
    MERGE (start)-[:`WORKBENCH_ALLOWS_TYPE` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT002'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET005'})
    MERGE (start)-[:`WORKBENCH_ALLOWS_TYPE` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchType` {benchTypeId: 'WT001'})
    MERGE (start)-[:`WORKBENCH_IS_TYPE_OF` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`WorkBenchType` {benchTypeId: 'WT002'})
    MERGE (start)-[:`WORKBENCH_IS_TYPE_OF` {}]->(end);
MATCH (start:`Equipment` {equipmentId: 'EQ001'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET003'})
    MERGE (start)-[:`EQUIPMENT_IS_TYPE_OF` {}]->(end);
MATCH (start:`Equipment` {equipmentId: 'EQ002'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET004'})
    MERGE (start)-[:`EQUIPMENT_IS_TYPE_OF` {}]->(end);
MATCH (start:`Equipment` {equipmentId: 'EQ003'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET003'})
    MERGE (start)-[:`EQUIPMENT_IS_TYPE_OF` {}]->(end);
MATCH (start:`Equipment` {equipmentId: 'EQ004'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET003'})
    MERGE (start)-[:`EQUIPMENT_IS_TYPE_OF` {}]->(end);
MATCH (start:`Equipment` {equipmentId: 'EQ005'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET003'})
    MERGE (start)-[:`EQUIPMENT_IS_TYPE_OF` {}]->(end);
MATCH (start:`EquipmentType` {equipmentTypeId: 'ET001'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET001'})
    MERGE (start)-[:`EQUIPMENT_PARENT_TYPE_OF` {}]->(end);
MATCH (start:`EquipmentType` {equipmentTypeId: 'ET002'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET002'})
    MERGE (start)-[:`EQUIPMENT_PARENT_TYPE_OF` {}]->(end);
MATCH (start:`EquipmentType` {equipmentTypeId: 'ET002'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET002'})
    MERGE (start)-[:`EQUIPMENT_PARENT_TYPE_OF` {}]->(end);
MATCH (start:`EquipmentType` {equipmentTypeId: 'ET002'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET002'})
    MERGE (start)-[:`EQUIPMENT_PARENT_TYPE_OF` {}]->(end);
MATCH (start:`EquipmentType` {equipmentTypeId: 'ET001'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET001'})
    MERGE (start)-[:`EQUIPMENT_PARENT_TYPE_OF` {}]->(end);
MATCH (start:`EquipmentType` {equipmentTypeId: 'ET006'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET006'})
    MERGE (start)-[:`EQUIPMENT_PARENT_TYPE_OF` {}]->(end);
MATCH (start:`EquipmentType` {equipmentTypeId: 'ET006'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET006'})
    MERGE (start)-[:`EQUIPMENT_PARENT_TYPE_OF` {}]->(end);
MATCH (start:`EquipmentType` {equipmentTypeId: 'ET006'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET006'})
    MERGE (start)-[:`EQUIPMENT_PARENT_TYPE_OF` {}]->(end);
MATCH (start:`EquipmentType` {equipmentTypeId: 'ET001'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET001'})
    MERGE (start)-[:`EQUIPMENT_PARENT_TYPE_OF` {}]->(end);
MATCH (start:`EquipmentType` {equipmentTypeId: 'ET010'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET010'})
    MERGE (start)-[:`EQUIPMENT_PARENT_TYPE_OF` {}]->(end);
MATCH (start:`EquipmentType` {equipmentTypeId: 'ET010'})
    MATCH (end:`EquipmentType` {equipmentTypeId: 'ET010'})
    MERGE (start)-[:`EQUIPMENT_PARENT_TYPE_OF` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_FEEDING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 1, actualTime: 1}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_WAITING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 2, actualTime: 0}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_LOADING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 3, actualTime: 0.5}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_WAITING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 4, actualTime: 0}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_PROCESSING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 5, actualTime: 6}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_WAITING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 6, actualTime: 0}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_UNLOADING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 7, actualTime: 0.5}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_WAITING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 8, actualTime: 0}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_OUTPUT'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 9, actualTime: 1}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_FEEDING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 1, actualTime: 1}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_WAITING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 2, actualTime: 0}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_LOADING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 3, actualTime: 0.5}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_WAITING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 4, actualTime: 0}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_PROCESSING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 5, actualTime: 8}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_WAITING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 6, actualTime: 0}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_UNLOADING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 7, actualTime: 0.5}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_WAITING'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 8, actualTime: 0}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`WorkBenchProcessStep` {stepId: 'STEP_OUTPUT'})
    MERGE (start)-[:`WORKBENCH_HAS_OPERATION` {order: 9, actualTime: 1}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcess` {processId: 'PROCESS_ASSEMBLY'})
    MERGE (start)-[:`WORKBENCH_WHITE_LIST` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcess` {processId: 'PROCESS_PACKAGING'})
    MERGE (start)-[:`WORKBENCH_WHITE_LIST` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcess` {processId: 'PROCESS_MARKING'})
    MERGE (start)-[:`WORKBENCH_WHITE_LIST` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`WorkBenchProcess` {processId: 'PROCESS_INSPECTION'})
    MERGE (start)-[:`WORKBENCH_BLACK_LIST` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`MaterialTransport` {MaterialTransportId: 'MT001'})
    MERGE (start)-[:`WORKBENCH_TRANSPORT` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`MaterialPalletType` {MaterialPalletTypeId: 'PT001'})
    MERGE (start)-[:`WORKBENCH_PALLET_TYPE` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT001'})
    MATCH (end:`FoolProofType` {fpTypeId: 'FP001'})
    MERGE (start)-[:`HAS_FOOL_PROOF` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT001'})
    MATCH (end:`FoolProofType` {fpTypeId: 'FP002'})
    MERGE (start)-[:`HAS_FOOL_PROOF` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT001'})
    MATCH (end:`FoolProofType` {fpTypeId: 'FP003'})
    MERGE (start)-[:`HAS_FOOL_PROOF` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT002'})
    MATCH (end:`FoolProofType` {fpTypeId: 'FP003'})
    MERGE (start)-[:`HAS_FOOL_PROOF` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT002'})
    MATCH (end:`FoolProofType` {fpTypeId: 'FP004'})
    MERGE (start)-[:`HAS_FOOL_PROOF` {}]->(end);
MATCH (start:`WorkBenchType` {benchTypeId: 'WT002'})
    MATCH (end:`FoolProofType` {fpTypeId: 'FP005'})
    MERGE (start)-[:`HAS_FOOL_PROOF` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB001'})
    MATCH (end:`FoolProofType` {fpTypeId: 'FP001'})
    MERGE (start)-[:`USES_FOOL_PROOF` {}]->(end);
MATCH (start:`WorkBench` {benchId: 'WB002'})
    MATCH (end:`FoolProofType` {fpTypeId: 'FP002'})
    MERGE (start)-[:`USES_FOOL_PROOF` {}]->(end);
MATCH (start:`Line` {lineId: 'L001'})
    MATCH (end:`Routing` {routingId: 'R001'})
    MERGE (start)-[:`LINE_HAS_ROUTING` {}]->(end);
MATCH (start:`Routing` {routingId: 'R001'})
    MATCH (end:`LineProcess` {processId: 'P001'})
    MERGE (start)-[:`ROUTING_HAS_LINEPROCESS` {order: 1}]->(end);
MATCH (start:`Routing` {routingId: 'R001'})
    MATCH (end:`LineProcess` {processId: 'P002'})
    MERGE (start)-[:`ROUTING_HAS_LINEPROCESS` {order: 2}]->(end);
MATCH (start:`Routing` {routingId: 'R001'})
    MATCH (end:`LineProcess` {processId: 'P002'})
    MERGE (start)-[:`ROUTING_HAS_LINEPROCESS` {order: 3}]->(end);